//
//  FWContentVideoView.m
//  BirdLoveSheep
//
//  Created by wwj on 16/3/28.
//  Copyright © 2016年 wwj. All rights reserved.
//

#import "FWContentVideoView.h"
#import "FWTopicModel.h"

@interface FWContentVideoView ()

@end

@implementation FWContentVideoView

+ (instancetype)contentVideoView{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] lastObject];
}

- (void)setModel:(FWTopicModel *)model{
    [super setModel: model];
    self.lengthLabel.text = [NSString stringWithFormat:@"%02d:%02d", model.videotime / 60, model.videotime %60];
}

@end
